package cn.neusoft.mapper;

import cn.neusoft.domain.Substation;
import cn.neusoft.query.BaseQuery;

import java.util.List;

public interface SubstationMapper {

    int add(Substation substation);

    int deleteById(Long substation_id);

    int update(Substation substation);

    Substation findById(Long substation_id);

    List<Substation> findAll();

    List<Substation> findByCondition(BaseQuery query);

    List<String> getDistinctAddress();  // 得到去重后的地址
}